package com.winai.launcher.bean;

public class AiMediaBean {

    /**
     * linkUrl : http://oss.iot.aispeech.com/dcmp/29A4D8D018D9CA6F283788BE391B399C.mp3
     * title : 经典大实话
     * extra : {"artist":"郭德纲，于谦","episode":9,"title":"经典大实话","resType":"mp3","mediaCategory":"曲艺,相声"}
     * album : 郭德纲于谦高清相声
     * subTitle : 郭德纲，于谦
     * imageUrl : http://oss.iot.aispeech.com/dcmp/72382AA0DDAEBC9C640A5518D50A2B3D.png
     */

    private String linkUrl;
    private String title;
    private ExtraBean extra;
    private String album;
    private String subTitle;
    private String imageUrl;

    public AiMediaBean(String linkUrl, String title, String subTitle, String imageUrl, ExtraBean extra) {
        this.linkUrl = linkUrl;
        this.title = title;
        this.subTitle = subTitle;
        this.imageUrl = imageUrl;
        this.extra = extra;
    }

    public String getLinkUrl() {
        return linkUrl;
    }

    public void setLinkUrl(String linkUrl) {
        this.linkUrl = linkUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public ExtraBean getExtra() {
        return extra;
    }

    public void setExtra(ExtraBean extra) {
        this.extra = extra;
    }

    public String getAlbum() {
        return album;
    }

    public void setAlbum(String album) {
        this.album = album;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public static class ExtraBean {
        /**
         * artist : 郭德纲，于谦
         * episode : 9
         * title : 经典大实话
         * resType : mp3
         * mediaCategory : 曲艺,相声
         */

        private String artist;
        private int episode;
        private String title;
        private String resType;
        private String mediaCategory;

        public ExtraBean(String artist, int episode, String title, String resType, String mediaCategory) {
            this.artist = artist;
            this.episode = episode;
            this.title = title;
            this.resType = resType;
            this.mediaCategory = mediaCategory;
        }

        public String getArtist() {
            return artist;
        }

        public void setArtist(String artist) {
            this.artist = artist;
        }

        public int getEpisode() {
            return episode;
        }

        public void setEpisode(int episode) {
            this.episode = episode;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getResType() {
            return resType;
        }

        public void setResType(String resType) {
            this.resType = resType;
        }

        public String getMediaCategory() {
            return mediaCategory;
        }

        public void setMediaCategory(String mediaCategory) {
            this.mediaCategory = mediaCategory;
        }
    }
}
